package com.szcinda.call.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface TicketDetailsRepository extends JpaRepository<TicketDetails, String>, JpaSpecificationExecutor<TicketDetails> {
    TicketDetails findFirstByTicketId(String ticketId);
    TicketDetails findFirstByUserNameAndSiteAndTrackingNumberAndInputGroupAndRobotStatusNotLike(String userName, String site, String trackingNumber, String inputGroup, String robotStatus);
}
